public class Demofs5 {
    public static int nodeSize;
    void size(BinaryTree.TreeNode root) {
        if(root==null){
            return;
        }
        nodeSize++;
        size(root.left);
        size(root.right);
    }//遍历方法
}
